package com.yl.result;

import lombok.Getter;

@Getter
public enum ResultEnum {
    SUCCESS(1000,"操作成功",true),
    FAILED(1001,"响应失败",false),
    VALIDATE_FAILED(1002, "参数校验失败",false),
    ERROR(500,"未知错误",false);
    private int code;
    private String msg;
    private Boolean status;
    ResultEnum(int code,String msg,Boolean status){
        this.code=code;
        this.msg=msg;
        this.status=status;
    }


}
